<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script src="https://unpkg.com/vue/dist/vue.js"></script>
		<script>
			var vm=new Vue({
				data:{
					a:1
				},
				mounted:function(){
					console.log('a is:'+this.a)
				},
				updated:function(){
					console.log('a is:'+this.a)
				},
				destroyed:function(){
					console.log('a is:'+this.a)
				},
				created:function(){
					console.log('a is:'+this.a)
				}
			})
		</script>
	</body>
</html>

